package partner_api

import (
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_admin"
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_commerce"
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_content"
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_property"
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_secondhand"
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_system"
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_urban"
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_user"
	"github.com/gin-gonic/gin"
)

// 初始化 partner route
func InitPartnerRoute(routerGroup *gin.RouterGroup) {
	// admin
	partner_admin.InitPartnerAdminRoute(routerGroup)

	// system
	partner_system.InitPartnerSystemRoute(routerGroup)

	// content
	partner_content.InitPartnerContentRoute(routerGroup)

	// user
	partner_user.InitPartnerUserRoute(routerGroup)

	// urban
	partner_urban.InitPartnerUrbanRoute(routerGroup)

	// property
	partner_property.InitPartnerPropertyRoute(routerGroup)

	// secondhand
	partner_secondhand.InitPartnerSecondhandRoute(routerGroup)

	// commerce
	partner_commerce.InitPartnerCommerceRoute(routerGroup)
}
